﻿<Window x:Class="InPlainSightBasic.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="In Plain Sight (Basic)" ResizeMode="NoResize" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen">
    <Canvas Height="600" Width="457" Background="#FFD8F5FD">
        <TabControl x:Name="tcMain" Height="547.904" Canvas.Left="10" Canvas.Top="10" Width="437">
            <TabItem x:Name="tiOriginalImage" Header="Original Image">
                <Canvas Background="#FF98B1CB">
                    <Border BorderBrush="Black" BorderThickness="1" Height="411" Canvas.Left="10" Canvas.Top="10" Width="411" CornerRadius="5">
                        <Border.Effect>
                            <DropShadowEffect/>
                        </Border.Effect>
                        <Border.Background>
                            <RadialGradientBrush>
                                <GradientStop Color="Black" Offset="0"/>
                                <GradientStop Color="White" Offset="0.168"/>
                                <GradientStop Color="Black" Offset="0.328"/>
                                <GradientStop Color="White" Offset="0.483"/>
                                <GradientStop Color="Black" Offset="0.621"/>
                                <GradientStop Color="White" Offset="0.754"/>
                            </RadialGradientBrush>
                        </Border.Background>
                        <Canvas>
                            <Image x:Name="imgOriginalImage" Height="411" Width="411"/>
                        </Canvas>
                    </Border>
                    <TextBox x:Name="txtOriginalImageSource" Height="23" Canvas.Left="11.566" TextWrapping="Wrap" Canvas.Top="440.235" Width="329.434"/>
                    <Button x:Name="btnOpenNewImage" Content="_Open" Canvas.Left="346" Canvas.Top="439.221" Width="75" Height="25" Click="btnOpenNewImage_Click">
                        <Button.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF7C7171" Offset="0"/>
                                <GradientStop Color="White" Offset="0.406"/>
                            </LinearGradientBrush>
                        </Button.Background>
                    </Button>
                    <Button Content="Create Message >>" Canvas.Left="12" Canvas.Top="479" Width="409" Click="btnCreateMessage_Click" Height="25">
                        <Button.Effect>
                            <DropShadowEffect/>
                        </Button.Effect>
                        <Button.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF7C7171" Offset="0"/>
                                <GradientStop Color="White" Offset="0.406"/>
                            </LinearGradientBrush>
                        </Button.Background>
                    </Button>
                </Canvas>
            </TabItem>
            <TabItem x:Name="tiMessage" Header="Messages">
                <Canvas Background="#FF98B1CB">
                    <TextBox x:Name="txtOriginalMessage" Height="456" Canvas.Left="10" TextWrapping="Wrap" Canvas.Top="24" Width="411" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Disabled" AcceptsReturn="True" AcceptsTab="True"/>
                    <Button x:Name="btnEncryptInImage" Content="Encrypt in Image" Canvas.Left="10" Canvas.Top="485" Width="411" Height="25" Click="btnEncryptInImage_Click">
                        <Button.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF7C7171" Offset="0"/>
                                <GradientStop Color="White" Offset="0.406"/>
                            </LinearGradientBrush>
                        </Button.Background>
                        <Button.Effect>
                            <DropShadowEffect/>
                        </Button.Effect>
                    </Button>
                    <TextBlock Canvas.Left="10" TextWrapping="Wrap" Text="Message" Canvas.Top="3"/>
                </Canvas>
            </TabItem>
            <TabItem x:Name="tiEmbeddedImage" Header="Image with embedded text">
                <Canvas Background="#FF98B1CB">
                    <Border BorderBrush="Black" BorderThickness="1" Height="411" Canvas.Left="10" Canvas.Top="10" Width="411" CornerRadius="5">
                        <Border.Effect>
                            <DropShadowEffect/>
                        </Border.Effect>
                        <Border.Background>
                            <RadialGradientBrush>
                                <GradientStop Color="Black" Offset="0"/>
                                <GradientStop Color="Red" Offset="0.168"/>
                                <GradientStop Color="Black" Offset="0.328"/>
                                <GradientStop Color="Red" Offset="0.483"/>
                                <GradientStop Color="Black" Offset="0.621"/>
                                <GradientStop Color="Red" Offset="0.754"/>
                            </RadialGradientBrush>
                        </Border.Background>
                        <Canvas>
                            <Image x:Name="imgEncryptedImage" Height="411" Width="411" Stretch="Uniform"/>
                        </Canvas>
                    </Border>
                    <TextBox x:Name="txtEncryptedImageSource" Height="23" Canvas.Left="11.566" TextWrapping="Wrap" Canvas.Top="440.235" Width="329.434"/>
                    <Button x:Name="btnOpenEncryptedImage" Content="_Open" Canvas.Left="346" Canvas.Top="439.221" Width="75" Height="25" Click="btnOpenEncryptedImage_Click">
                        <Button.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF7C7171" Offset="0"/>
                                <GradientStop Color="White" Offset="0.406"/>
                            </LinearGradientBrush>
                        </Button.Background>
                    </Button>
                    <Button x:Name="btnDecryptMessage" Content="&lt;&lt; Get Message" Canvas.Left="12" Canvas.Top="479" Width="409" Click="btnDecryptMessage_Click"  Height="25">
                        <Button.Effect>
                            <DropShadowEffect/>
                        </Button.Effect>
                        <Button.Background>
                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                <GradientStop Color="#FF7C7171" Offset="0"/>
                                <GradientStop Color="White" Offset="0.406"/>
                            </LinearGradientBrush>
                        </Button.Background>
                    </Button>
                </Canvas>
            </TabItem>
        </TabControl>
        <Button Content="_Close" Canvas.Left="372" Canvas.Top="565.41" Width="75" Height="25" Click="btnClose_Click">
            <Button.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF7C7171" Offset="0"/>
                    <GradientStop Color="White" Offset="0.406"/>
                </LinearGradientBrush>
            </Button.Background>
        </Button>
        <Button x:Name="btnAbout" Content="About" Canvas.Left="291" Canvas.Top="565" Width="75" Height="25" Click="btnAbout_Click">
            <Button.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF7C7171" Offset="0"/>
                    <GradientStop Color="White" Offset="0.406"/>
                </LinearGradientBrush>
            </Button.Background>
        </Button>

    </Canvas>
</Window>